package cn.zn.modules.zzsys.cur.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.zn.modules.zzsys.cur.entity.SysPushSetup;
import cn.zn.modules.zzsys.cur.service.SysPushSetupService;
import cn.zn.modules.zzsys.cur.mapper.SysPushSetupMapper;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class SysPushSetupServiceImpl extends ServiceImpl<SysPushSetupMapper, SysPushSetup>
        implements SysPushSetupService {

    @Override
    public SysPushSetup getByMsgCode(String msgCode) {
        return super.getOne(new QueryWrapper<SysPushSetup>().eq("msg_code", msgCode));
    }
}




